<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>我的收藏</title>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/base.css" />
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/m_index.css" />
	<script type="text/javascript">
		var APP = '<?php echo "__APP__" ;?>';
	</script>
	<script type="text/javascript" src="__PUBLIC__/js/jquery-1.11.0.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/head.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/menu.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>

	<!-- 为了保证IE载入以下文件 -->
	<script type="text/javascript" src="__PUBLIC__/Css/es5-shim/es5-sham.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Css/es5-shim/es5-shim.min.js"></script>
	<!-- 载入less.js -->
	<script type="text/javascript" src="__PUBLIC__/Css/es5-shim/less-1.5.0.min.js"></script>
</head>
<body>
<load file="__PUBLIC__/head.html"/>

<!-- 主体部分 开始-->
<div id="main">
	<load file="__CONTROL_TPL__/left.html"/>
	<div id="right">
		<div class="pos">我的收藏</div>
		<div class="collect">
			<table border="0" cellspacing="0" width="100%" align="center">
				<tr align="center" height="30" bgcolor="#f8f8f8">
					<th width="490">团购项目</th>
					<th width="50">金额</th>
					<th width="130">状态</th>
					<th>操作</td>
				</tr>
			</table>
			<if value="is_null($collect)">
			<p style="padding:20px; text-align:center">您还没有收藏过商品</p>
			<else>
			<foreach from="$collect" value="$v">
			<div class="collect-list">
				<ul>
					<li class="t-info">
						<div class="tu"><a href="{|U:'Article/index',array('gid'=>$v['gid'])}" target="_blank"><img src="__ROOT__/{$v.pic}" width="80" height="50" alt="" /></a></div>
						<div class="name"><a href="{|U:'Article/index',array('gid'=>$v['gid'])}" target="_blank">{$v.title}</a></div>
					</li>
					<li class="count">{$v.group_price}</li>
					<li class="state">{$v.state}</li>
					<li class="active"><if value="$v['state'] neq '已关闭'"><a href="{|U:'Article/index',array('gid'=>$v['gid'])}" class="buy" target="_blank">购买</a><else><span style="display:inline-block; width:40px;"></span></if> <a href="javascript:" onclick="if(confirm('确定删除吗？'))location.href='{|U:'Collect/del_collect',array('gid'=>$v['gid'])}'" class="del">删除</a></li>
				</ul>
			</div>
			</foreach>
			</if>
		</div>

	</div>
</div>
<!-- 主体部分 结束 -->


<!-- 底部开始 -->
<div id="footer">
	<div id="footer-con">
		<div class="foot-info">
			<h3>获取更新</h3>
			<ul>
				<li><a href="">邮件订阅</a></li>
				<li><a href="">iPhone/Android</a></li>
				<li><a href="">美团QQ空间</a></li>
				<li><a href="">美团新浪微博</a></li>
				<li><a href="">sitemap</a></li>
				<li><a href="">RSS订阅</a></li>
			</ul>	
		</div>
		<div class="foot-info">
			<h3>获取更新</h3>
			<ul>
				<li><a href="">邮件订阅</a></li>
				<li><a href="">iPhone/Android</a></li>
				<li><a href="">美团QQ空间</a></li>
				<li><a href="">美团新浪微博</a></li>
				<li><a href="">sitemap</a></li>
				<li><a href="">RSS订阅</a></li>
			</ul>	
		</div>
		<div class="foot-info">
			<h3>获取更新</h3>
			<ul>
				<li><a href="">邮件订阅</a></li>
				<li><a href="">iPhone/Android</a></li>
				<li><a href="">美团QQ空间</a></li>
				<li><a href="">美团新浪微博</a></li>
				<li><a href="">sitemap</a></li>
				<li><a href="">RSS订阅</a></li>
			</ul>	
		</div>
		<div class="foot-info">
			<h3>获取更新</h3>
			<ul>
				<li><a href="">邮件订阅</a></li>
				<li><a href="">iPhone/Android</a></li>
				<li><a href="">美团QQ空间</a></li>
				<li><a href="">美团新浪微博</a></li>
				<li><a href="">sitemap</a></li>
				<li><a href="">RSS订阅</a></li>
			</ul>	
		</div>
		<div class="foot-info">
			<h3>获取更新</h3>
			<ul>
				<li><a href="">邮件订阅</a></li>
				<li><a href="">iPhone/Android</a></li>
				<li><a href="">美团QQ空间</a></li>
				<li><a href="">美团新浪微博</a></li>
				<li><a href="">sitemap</a></li>
				<li><a href="">RSS订阅</a></li>
			</ul>	
		</div>
		<div class="foot-info">
			<span class="tou"></span>	
			<p class="p1"><strong>退款、退换货、查看美团券</strong><br /><a href="">参考教程，轻松搞定 »</a></p>
			<p class="p2">
客服电话：400-660-5335 <br />
服务时间：每天 9:00 - 22:00</p>
		</div>
		<div class="clear"></div>
		<p class="power">©2014美团网团购 meituan.com 京ICP证070791号 京公网安备11010502025545号 电子公告服务规则</p>
	<div class="zheng">
		<a class="a1" href=""></a>
		<a class="a2" href=""></a>
		<a class="a3" href=""></a>
		<a class="a4" href=""></a>
		<a class="a5" href=""></a>
		<a class="a6" href=""></a>

	</div>
	</div>
	
</div>
<!-- 底部结束 -->
</body>
</html>